#ifndef YOOHOO_XMPPCORE_XMLLANGTEXT_H
#define YOOHOO_XMPPCORE_XMLLANGTEXT_H

#include "xmppcore/export.h"
#include "xmppcore/xmppobject.h"

#include <QtCore/QString>

namespace yoohoo_xmppcore {

class YOOHOO_XMPPCORE_EXPORT XmlLangText : public XmppObject {
public:
	XmlLangText(QString text = QString(), QString xmlLang = QString());
	void setXmlLang(QString xmlLang);
	QString xmlLang() const;
	void setText(QString text);
	QString text() const;
	bool operator==(const XmlLangText& other) const;
	bool isNull() const;

private:
	QString _xmlLang;
	QString _text;

};

}

#endif
